#ifndef SL_DIRECTION_HPP
#define SL_DIRECTION_HPP

// std Header
#include <string>

// Eigene Header
#include "../System/Lua.hpp"

namespace sl
{
	class Direction
	{
	public:
		enum Dir
		{
			Up = 0,
			Down,
			Left,
			Right,
			UpLeft,
			UpRight,
			DownLeft,
			DownRight,
			Count
		};

	public:
		Direction();
		Direction(Dir dir);

	protected:
		Dir myDirection;

	public:
		Direction* SetDirection(Dir dir);
		Dir GetDirection();
		static std::string ToString(Direction::Dir dir);
	};
}

#endif //SL_DIRECTION_HPP